package dimension.starry.item.food;

import dimension.starry.item.ItemGroups;
import dimension.starry.item.typeInterface.FoodType;
import net.fabricmc.fabric.api.item.v1.FabricItemSettings;
import net.minecraft.entity.effect.StatusEffectInstance;
import net.minecraft.entity.effect.StatusEffects;
import net.minecraft.item.FoodComponent;

/**
 * @author 150149
 */
public class Shit extends FoodType {

    private static final FoodComponent FOOD = (new FoodComponent.Builder()).saturationModifier(0)
        .statusEffect(new StatusEffectInstance(StatusEffects.POISON, 3 * 20, 1), 1)
        .build();

    public Shit() {
        super(new FabricItemSettings().food(FOOD));
    }

}
